package com.itheima.day01.ZuoYe.ZuoYe3_2;

import java.util.ArrayList;

public class Test {

    public static void main(String[] args) {
        Students s1 = new Students("01","mfc",18,"nan","110","111");
        Students s2 = new Students("02","mfc",18,"nan","110","111");
        Students s3 = new Students("03","mfc",18,"nan","110","111");
        ArrayList<Students> list = new ArrayList<Students>();
        list.add(s1);
        list.add(s2);
        list.add(s3);
        for (int i = 0; i < list.size(); i++) {
            System.out.println(list.get(i).getAge()+"  guoji:"+Students.getCountry());
        }
    }
}
